#pragma once
#ifndef winglPict_h__
#define winglPict_h__


#include "../../inc/skyAdapter.h"
#include "../../inc/skyObject.h"

#ifdef _GLES_
#include "../thirdParty/win32/ogles/gles/gl.h"
#include "../thirdParty/win32/ogles/EGL/egl.h"
namespace Sky
{

    class OSPictManager : public Object
    {
        
    };

    class OSPict : public Object
    {
		friend class PictManager;
	public:
		GLuint _tex;
		Size _size;
		SetGetProperty(HasPremultipliedAlpha,Bool, _bHasPremultipliedAlpha);
		SetGetProperty(BitsPerComponent,u8,_bitsPerComponent);
		SetGetProperty(HasAlpha,Bool,_hasAlpha);

	protected:
		Bool createPremultipliedATextureWithImage(Image *image, unsigned int POTWide, unsigned int POTHigh);
	public:
		GLint getTexture();;
		Size setDesiredSize(Size size);
    private:
    };
}

#endif
#endif 